// src/router/index.js
import {createRouter,createWebHashHistory} from 'vue-router';
// import Home from '../views/home.vue'
const router = createRouter({
  history: createWebHashHistory(),
  routes:[
    {
      path: '/',
      name: 'home',
      component: () => import('../views/home.vue'),
      meta:{title:'首页'}
    }
  ]
})

export default router